<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <base href="<%=basePath%>">
    
    <title>My JSP 'addmedicinein.jsp' starting page</title>
    
	<meta http-equiv="pragma" content="no-cache">
	<meta http-equiv="cache-control" content="no-cache">
	<meta http-equiv="expires" content="0">    
	<meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
	<meta http-equiv="description" content="This is my page">
	<%String ctx =request.getContextPath(); 
	  request.setAttribute("ctx",ctx);
	%>
	<link rel="stylesheet" type="text/css" href="${ctx }/css/styles.css">
	<script type="text/javascript" src="${ctx}/js/My97DatePicker/WdatePicker.js"></script>
	<script type="text/javascript" src="${ctx}/js/calendar.js"></script> 
  </head>
  <body>
   <div class="div1">
		<table width="100%" cellpadding="0" cellspacing="0" border="0"
			align="center">
			<tr>
				<td class="td_title1">&nbsp; 
						.当前位置 
					&gt;&gt; 库存管理
					&gt;&gt; 入库信息编辑
				 
				</td>
			</tr>
			<tr>
				<td bgcolor="#FFFFFF" height="50">
					<br>
					<form action="editsavemedicinein.action" method="post">
						
						
						<table border="0" align="center" width="500" cellpadding="0"  cellspacing="0">
							<tr>
								<td align="right">
								<input type="hidden" value="${medicineIn.inId}" name="inId"/>
								药品编码:
								</td>
								<td align="left">
								<input type="text" size="20" readonly="readonly" value="${medicineIn.medicineInfo.medicineCode}" disabled="disabled">
								</td>
							</tr>
							<tr>
								<td align="right">
								药品名称:
								</td>
								<td align="left">
								<input type="text" value="${medicineIn.medicineInfo.medicineName}" size="20" disabled="disabled">
								</td>
							</tr>
							<tr>
								<td align="right">
								药品描述:
								</td>
								<td align="left">
								
								<input type="text" value="${medicineIn.medicineInfo.medicineDesc}" width="20" height="7" readonly="readonly" disabled="disabled"/>
								</td>
							</tr>
							<tr>
							 
								<td align="right">
								厂商&nbsp;&nbsp;:
								</td>
								<td align="left">
								<input type="text" value="${medicineIn.medicineInfo.medicineFactoryAddress}" size="20" readonly="readonly" disabled="disabled">
								</td>
							</tr>
							
							<tr>
								<td align="right">
								价格:
								</td>
								<td align="left">
								<input type="text" value="${medicineIn.medicineInfo.medicinePrice}" disabled="disabled" size="20" readonly="readonly">
								</td>
							</tr>
								<tr>
							 
								<td align="right">
								入库数量:
								</td>
								<td align="left">
								<input type="text" name="inCount" value="${medicineIn.inCount}" size="20" >
								</td>
							</tr>
							<tr>
								<td align="right">
								采购时间:
								</td>
								<td align="left">
								<input type="text" value="${medicineIn.inRecordTime}" size="20"  readonly="readonly"
					    	     disabled="disabled" >
								</td>
							</tr>
							
							<tr><td colspan="2" align="center"><input type="submit" value="保存"/>&nbsp;&nbsp;&nbsp;&nbsp;
							<input type="button" value="取消" onclick="history.back();">
							</td></tr>
						</table>
				   </form>
				</td>
			</tr>
		</table>
	</div>
  </body>
</html>
